<div class="sidebar" id="sidebar">


<ul class="nav nav-list">
	<li <?php if(curCA('controller') == 'default' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin');?>">
			<i class="icon-dashboard"></i>
			<span class="menu-text"> Trang chủ </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'informations' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list-alt"></i>
			<span class="menu-text"> Thông tin </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations');?>">
					<i class="icon-double-angle-right"></i>
					Giới Thiệu
				</a>
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations/2');?>">
					<i class="icon-double-angle-right"></i>
					Lệ Phí
				</a>
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations/3');?>">
					<i class="icon-double-angle-right"></i>
					Ngân Hàng
				</a>
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations/4');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>

					Chứng Khoán					
				</a>				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations/5');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>

					Bảng Giá Đất					
				</a>				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/informations/6');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>

					Tỷ Giá					
				</a>				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'questionAnswers') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-edit"></i>
			<span class="menu-text"> Hỏi Đáp </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
		
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/questionAnswers/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					
					Danh Sách Câu Hỏi
				</a>
			</li>
			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/questionAnswers/create');?>" >
					<i class="icon-double-angle-right"></i>
					
					Tạo Câu Hỏi
				</a>
			</li>
		</ul>
	</li>
	
	
	<li <?php if(curCA('controller') == 'documents' ||  curCA('controller') == 'categoriesDocuments') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list"></i>
			<span class="menu-text"> Biểu Mẫu </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesDocuments/');?>">
					<i class="icon-double-angle-right"></i>
					Danh mục biểu mẫu
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesDocuments/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm danh mục biểu mẫu
				</a>
				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/documents/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách biểu mẫu
				</a>
				
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/documents/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm biểu mẫu
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'documentsLaw' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list"></i>
			<span class="menu-text"> Văn bản pháp luật </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/documentsLaw/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/documentsLaw/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'procedures' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list"></i>
			<span class="menu-text"> Thủ tục hành chính </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/procedures/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/procedures/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'land' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="" class="dropdown-toggle">
			<i class="icon-list"></i>
			<span class="menu-text"> Hỗ trợ đất đai </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">			
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/land/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/land	/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'categoriesNews' ||  curCA('controller') == 'news') echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-text-width"></i>
			<span class="menu-text"> Tin tức </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesNews/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh mục tin tức
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/categoriesNews/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm danh mục tin tức
				</a>
				
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/');?>">
					<i class="icon-double-angle-right"></i>
					Danh sách tin tức
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/news/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm tin tức
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'schedule' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/schedule');?>" class="">
			<i class="icon-tag"></i>
			<span class="menu-text"> Đặt hẹn trước</span>
			
		</a>
	</li>
	<li <?php if(curCA('controller') == 'comments' ||  curCA('controller') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/comments');?>" class="">
			<i class="icon-tag"></i>
			<span class="menu-text"> Thư Góp Ý</span>
			
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'links' || curCA('controller') == 'linkSupport' ) echo 'class="active"'?>>
		<a href="#" class="dropdown-toggle">
			<i class="icon-file-alt"></i>
			<span class="menu-text"> Liên kết </span>
			<b class="arrow icon-angle-down"></b>
		</a>
		
		<ul class="submenu">
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/links/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh sách liên kết
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/links/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm danh sách liên kết
				</a>
				
			</li>

			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/linkSupport/');?>" class="dropdown-toggle">
					<i class="icon-double-angle-right"></i>
					Danh sách hổ trợ liên kết
				</a>
			</li>
			<li>
				<a href="<?php echo PIUrl::createUrl('/admin/linkSupport/create');?>">
					<i class="icon-double-angle-right"></i>
					Thêm hổ trợ liên kết
				</a>
				
			</li>
		</ul>
	</li>
	
	<li <?php if(curCA('controller') == 'images') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/images'); ?>">
			<i class="icon-picture"></i>
			<span class="menu-text"> <?php echo translate('Hình ảnh');?> </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'system' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/system');?>">
			<i class="icon-desktop"></i>
			<span class="menu-text"> Cài đặt </span>
		</a>
	</li>
	
	<li <?php if(curCA('controller') == 'letter' && curCA('action') == 'index') echo 'class="active"'?>>
		<a href="<?php echo PIUrl::createUrl('/admin/letter');?>">
			<i class="icon-desktop"></i>
			<span class="menu-text"> Gửi thư </span>
		</a>
	</li>
</ul><!--/.nav-list-->

<div class="sidebar-collapse" id="sidebar-collapse">
	<i class="icon-double-angle-left"></i>
</div>
</div>
